Coop-Assets: M-3101000 - Test AG - DEPOSIT Transaction
from 4301: Subscribe Coop
Assets| name | value |
|---|---|
| memberNumber | M-3101000 |
| reference | cancel 2024-01-15 |
| valueToClear | 128 |
| comment | clearing according to members debt |
| transactionDate | 2024-02-15 |
HTTP GET "/api/hs/office/memberships/M-3101000" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
{
"uuid" : "b48bf53e-8f91-4009-bd9a-1b857c31657c", // Membership: M-3101000 - Test AG
"partner" : {
"uuid" : "3da9e2a0-95cc-4ea4-bb4c-e73ad571beb4", // Partner: P-31010 - Test AG
"partnerNumber" : "P-31010",
"partnerRel" : {
"uuid" : "f1943189-716b-46ea-8218-fa169740db15", // partnerRelationUuid
"anchor" : {
"uuid" : "806e75fe-7894-4422-86be-783107f07f3f", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "00ddd2fc-8742-46e5-924c-77749d4c8ccc", // Person: Test AG
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "351fc296-c0f1-459a-8730-4a65b9605cee", // Contact: Test AG - China
"caption" : "Test AG - China",
"postalAddress" : {
"country" : "China",
"province" : "Guangdong Province",
"city" : "Dongguan City",
"street" : "No.2 Commercial Second Street",
"district" : "Niushan Wei Wu",
"department" : "Executive Board",
"building" : "Thi Chi Koh Building"
},
"emailAddresses" : {
"main" : "norden@test-ag.example.org"
},
"phoneNumbers" : {
"phone" : "++15 999 654321"
}
}
},
"details" : {
"uuid" : "ec212097-b265-4392-b0ad-2806db2beb66",
"registrationOffice" : "Registergericht Hamburg",
"registrationNumber" : "1234567",
"birthName" : null,
"birthPlace" : null,
"birthday" : null,
"dateOfDeath" : null
}
},
"mainDebitor" : null,
"memberNumber" : "M-3101000",
"memberNumberSuffix" : "00",
"validFrom" : "2020-10-15",
"validTo" : "2023-12-31",
"status" : "CANCELLED",
"membershipFeeBillable" : true
}
HTTP POST "/api/hs/office/coopassetstransactions" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }` \
<<EOF
{
"membership.uuid" : "b48bf53e-8f91-4009-bd9a-1b857c31657c", // Membership: M-3101000 - Test AG
"transactionType" : "CLEARING",
"reference" : "cancel 2024-01-15",
"assetValue" : "-128",
"comment" : "clearing according to members debt",
"valueDate" : "2024-02-15"
}
EOF
=> status: 201 CREATED b968e98d-af8a-4b88-aa60-ed40d8536a4a
HTTP GET "/api/hs/office/coopassetstransactions/b968e98d-af8a-4b88-aa60-ed40d8536a4a" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
{
"uuid" : "b968e98d-af8a-4b88-aa60-ed40d8536a4a",
"membership.uuid" : "b48bf53e-8f91-4009-bd9a-1b857c31657c", // Membership: M-3101000 - Test AG
"membership.memberNumber" : "M-3101000",
"transactionType" : "CLEARING",
"assetValue" : -128,
"valueDate" : "2024-02-15",
"reference" : "cancel 2024-01-15",
"comment" : "clearing according to members debt",
"adoptionAssetTx" : null,
"transferAssetTx" : null,
"revertedAssetTx" : null,
"reversalAssetTx" : null
}
generated on 2026-08-10 01:37:55 for branch